package itqf.entity;

import java.math.BigDecimal;
import java.util.Date;
import java.util.List;

/**
 * com.itqf.entity
 * 2020/9/17
 */
public class Orders {
    private String  oid;
    private int uid;
    private int aid;

    private Address address;
    private Date otime;
    private BigDecimal occount;
    //订单有六种状态
    private int ostate;

    private List<Item> itemList;

    public String  getOid() {
        return oid;
    }

    public void setOid(String oid) {
        this.oid = oid;
    }

    public int getUid() {
        return uid;
    }

    public void setUid(int uid) {
        this.uid = uid;
    }

    public int getAid() {
        return aid;
    }

    public void setAid(int aid) {
        this.aid = aid;
    }

    public Address getAddress() {
        return address;
    }

    public void setAddress(Address address) {
        this.address = address;
    }

    public Date getOtime() {
        return otime;
    }

    public void setOtime(Date otime) {
        this.otime = otime;
    }

    public BigDecimal getOccount() {
        return occount;
    }

    public void setOccount(BigDecimal occount) {
        this.occount = occount;
    }

    public int getOstate() {
        return ostate;
    }

    public void setOstate(int ostate) {
        this.ostate = ostate;
    }

    public List<Item> getItemList() {
        return itemList;
    }

    public void setItemList(List<Item> itemList) {
        this.itemList = itemList;
    }

    @Override
    public String toString() {
        return "Orders{" +
                "oid='" + oid + '\'' +
                ", uid=" + uid +
                ", aid=" + aid +
                ", address=" + address +
                ", otime=" + otime +
                ", occount=" + occount +
                ", ostate=" + ostate +
                ", itemList=" + itemList +
                '}';
    }
}
